<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/10/27
  Time: 9:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="/user/add" method="post">
    <label for="username">用户名:<input type="text" value="${user.username}" id="username" name="username" /></label><br/>
    <label for="password">密码:<input type="password" id="password" name="password" /></label><br/>
    <label for="age">年龄:<input type="text" value="${user.age}" name="age" /></label><br/>
    <label for="address.province">省份:<input type="text" value="${user.address.province}" name="address.province" /></label><br/>
    <label for="address.city">城市:<input type="text" value="${user.address.city}" name="address.city" /></label><br/>
    <label for="address.sp.pname">特产名称:<input type="text" name="address.sp.pname" /></label><br/>
    <label for="address.sp.price">特产价格:<input type="text" name="address.sp.price" /></label><br/>
    <input type="submit" value="提交" />
</form>
</body>
</html>
